package mongohelper;

import mongohelper.exceptions.MongoTranslationException;

public interface _MongoFieldConverter<OBJ_TYPE, DB_TYPE> {

	DB_TYPE serialize(OBJ_TYPE val) throws MongoTranslationException;

	OBJ_TYPE deserialize(DB_TYPE val) throws MongoTranslationException;

}
